package service.EnterpriseManagement;

import entity.Enterprise;
import mapper.EnterpriseManagement.EnterpriseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EnterpriseService {

    @Autowired
    private EnterpriseMapper enterpriseMapper;

    public Enterprise findEnterpriseIdByName(String name){
        return enterpriseMapper.findEnterpriseIdByName(name);
    }
}
